const crypto = require('crypto')
const md5Key = 'hua126mail@126.com'
const aesKey='hua-aes'

function encodeMd5(str){
    const str = `password=${str}&key=${md5Key}`
  return crypto.createHash('md5').update(str).digest('hex')
}

module.exports = {encodeMd5}